package com.tyrone.captcha;

import com.tyrone.captcha.util.IdWorker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

/**
 * @author xieyl
 * @create 2021/9/10 13:54
 */
@SpringBootApplication

public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class);
    }

    @Bean
    public IdWorker idWorker(){
        return new IdWorker();
    }
}
